﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PromotionApp.Model
{
    public class CategoryStatistic
    {
        #region Private Variable

        private int _CategoryId = 0;       
        private string _CategoryName = string.Empty;        
        private int _NumTopics = 0;       
        private int _NumReplies = 0;
        private DateTime _LastedPostedDate = DateTime.MinValue;       
                
        #endregion

        #region Property

        public int CategoryId
        {
            get { return _CategoryId; }
            set { _CategoryId = value; }
        }

        public string CategoryName
        {
            get { return _CategoryName; }
            set { _CategoryName = value; }
        }

        public int NumTopics
        {
            get { return _NumTopics; }
            set { _NumTopics = value; }
        }

        public int NumReplies
        {
            get { return _NumReplies; }
            set { _NumReplies = value; }
        }

        public DateTime LastedPostedDate
        {
            get { return _LastedPostedDate; }
            set { _LastedPostedDate = value; }
        }

        #endregion

        #region Constructor

        public CategoryStatistic()
        {

        }

        #endregion
    }
}